<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./restcss/restcss2011.css">
    <style>
        /* 设置图片容器 
         开启相对定位，目的是使ul中的pointer可以相对于ul定位而不是相对于初始包含块*/
        .img-list {
            width: 590px;
            height: 470px;
            margin: 100px auto;
            position: relative;
      
        }

        /* 设置li 
          */
        .img-list li {

            position: absolute;
        }

        .img-list:nth-child(3){
            z-index: 1;
        }

        /* 设置导航点的样式 */
        .pointer {
            position: absolute;
            z-index: 9999;
            bottom: 10px;
            left: 40px;
        }

        /* 设置导航点的大小 */
        .pointer a {
            /*设置元素左浮动  */
            float: left;
            width: 20px;
            height: 20px;
            margin-left: 4px;
            border-radius: 50%;
            background-color: rgba(211, 32, 32, 0.3);
            /* 将背景颜色设置到内容区，边框和内边距不在有背景颜色 */
            background-clip: content-box;
            border: 2px solid transparent;

        }

      

        .pointer a.active,
        .pointer a:hover{
            background-color: #fff;
            border: 2px solid rgba(224, 219, 219, 0.3);

        }
    </style>
</head>

<body>
    <ul class="img-list">
        <li><a href="#"><img src="./resourse/03img/" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/6f0249075d80574b.jpg" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/fbdead9b5857c2f6.jpg" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/fbdead9b5857c2f6.jpg" alt=""></a></li>
        <li><a href="#"><img src="./resourse/03img/1faf0e4bj00qqt69a005tc000go00b4c.webp" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/fbdead9b5857c2f6.jpg" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/fbdead9b5857c2f6.jpg" alt=""></a></li>
        <li><a href="#"><img src="./resourse/1img/6f0249075d80574b.jpg" alt=""></a></li>

        <div class="pointer">
            <a class="active" href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
            <a href="#"></a>
        </div>
    </ul>
</body>

</html>